package chapter3.No3_1_等待和通知机制.j生产者_消费者模式实现.demo3;

/**
 * *：一生产与一消费：操作栈
 * Created by Administrator on 2016/11/19.
 */
public class Main {

    public static void main(String[] args) {
        MyStack stack = new MyStack();
        ThreadP p = new ThreadP(stack);
        ThreadC c = new ThreadC(stack);
        p.start();
        c.start();
    }
}
